package com.hjc.springbootstudyweb.service;

import com.hjc.springbootstudyweb.entity.ProductModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: HJC
 * Date: 2019/12/1
 * Time: 21:58
 * To change this template use File | Settings | File Templates.
 */
public interface ProductsService {
    List<ProductModel> queryProduct();
    int addProduct(@Param("product")ProductModel productModel);
    int deleteProduct(@Param("pid") int pid);
}
